package study.datastructure.graph.kruskal;/**
 * @program: datastructure
 * @author: lcy
 * @create: 2024-06-07 01:16
 */

/**
 2024/6/7,
 */


public class Subset {
    //子集中的父节点
    int parent;
    //秩 作用是扁平化把多个子集合成为树
    int rank;

    public Subset(int parent, int rank){
        this.parent = parent;
        this.rank = rank;
    }
}
